package com.base.app.entity;

import com.mysteel.core.Entity;
/**
 * 
 * @author chendonglin
 *
 */
public class Channel implements Entity
{

	
	private static final long serialVersionUID = -685265710083189010L;
	private long id;							//主键ID
	
	private String name;						//频道名字
	private int count = 0;						//该频道下的文章数量
	private boolean status;
	private long adminId;						//创建该频道管理员的ID	
	private String adminName;					//创建该频道管理员的姓名
	private long createTime;					//创建时间
	private long lastAccess;					//最后修改时间
	private String description;					//频道描述
	private String lastAccessName;				//最后修改人
	public Channel()
	{
		super ();
	}
	public Channel(long id, String name, int count, long adminId,
			String adminName, long createTime, long lastAccess,
			String description)
	{
		super ();
		this.id = id;
		this.name = name;
		this.count = count;
		this.adminId = adminId;
		this.adminName = adminName;
		this.createTime = createTime;
		this.lastAccess = lastAccess;
		this.description = description;
	}
	
	public boolean isStatus()
	{
		return status;
	}
	public void setStatus(boolean status)
	{
		this.status = status;
	}
	public String getLastAccessName()
	{
		return lastAccessName;
	}
	public void setLastAccessName(String lastAccessName)
	{
		this.lastAccessName = lastAccessName;
	}
	public long getId()
	{
		return id;
	}
	public void setId(long id)
	{
		this.id = id;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public int getCount()
	{
		return count;
	}
	public void setCount(int count)
	{
		this.count = count;
	}
	public long getAdminId()
	{
		return adminId;
	}
	public void setAdminId(long adminId)
	{
		this.adminId = adminId;
	}
	public String getAdminName()
	{
		return adminName;
	}
	public void setAdminName(String adminName)
	{
		this.adminName = adminName;
	}
	public long getCreateTime()
	{
		return createTime;
	}
	public void setCreateTime(long createTime)
	{
		this.createTime = createTime;
	}
	public long getLastAccess()
	{
		return lastAccess;
	}
	public void setLastAccess(long lastAccess)
	{
		this.lastAccess = lastAccess;
	}
	public String getDescription()
	{
		return description;
	}
	public void setDescription(String description)
	{
		this.description = description;
	}
	public static long getSerialversionuid()
	{
		return serialVersionUID;
	}
	
}
